package org.example;



import org.example.bean3.Email;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @program: maven3
 * @description:
 * @author: zy
 * @create: 2025-09-09 15:37
 */
public class App6 {
    public static void main(String[] args) {
        ApplicationContext ac=new AnnotationConfigApplicationContext(AppConfig6.class);
        Email email= (Email) ac.getBean("email");
        System.out.println(email);
    }
}
